package serive;

import entity.Mail;

import java.util.List;

public interface UserService {
    boolean login(String id, String pwd);

    boolean register(String uId, String password1, String password2, String idCard, String sex,
                     int age, String address, String uName, String telephone);

    boolean modify(String uId, String password1, String password2, String idCard, String sex, int age,
                   String address, String uName, String telephone);

    List<Mail> queryMail(String uId);

    String queryAddress(String uId);

    String queryTelephone(String uId);
}

